package com.aotain.oframework.constant;

public class ExceptionConstant {

	/*** type of exception ***/
	public static final String NUMBER_FORMAT_EXCEPTION = "Number format exception.";
	public static final String ASSERTION_FAILURE_EXCEPTION = "Unknown Flush Mode Type.";
	public static final String ARRAY_INDEX_OUT__EXCEPTION = "Array index out of bounds.";
	public static final String CLASS_NOT_FOUND_EXCEPTION = "Class not found.";
	public static final String EMPTY_RESULT_DATA_EXCEPTION = "Empty result data access.";
	public static final String NULL_POINT_EXCEPTION = "Null pointer exception.";
	public static final String NO_SUCH_METHOD_EXCEPTION = "No such method.";
	public static final String NO_UNIQUE_RESULT_EXCEPTION = "No unique result.";
	public static final String NO_RESULT_EXCEPTION = "No result.";
	public static final String PARSE_EXCEPTION = "Parse exception.";
	public static final String QUERY_TIME_OUT_EXCEPTION = "Connect time out.";
	public static final String SYSTEM_EXCEPTION = "System exception.";
	public static final String SQL_EXCEPTION = "Database exception.";
	public static final String RUNTIME_EXCEPTION = "Runtime exception.";
	public static final String QUERY_EXCEPTION = "Query exception.";
	public static final String OBJECT_NOT_FOUND_EXCEPTION = "Object not found.";
	public static final String OBJECT_DELETE_EXCEPTION = "Object deleted exception.";
	public static final String INDEX_OUT_EXCEPTION = "Index out of bounds.";
	public static final String IO_EXCEPTION = "IO exception.";
	public static final String HIBERNATE_EXCEPTION = "Hibernate exception.";
	public static final String MAPPING_EXCEPTION = "Mapping exception.";
	public static final String SECURITY_EXCEPTION = "Security exception.";
	public static final String STALE_STATE_EXCEPTION = "Stale state exception.";
	public static final String PERSISTENCE_EXCEPTION = "Using a JTA persistence context wo setting hibernate.transaction.manager_lookup_class.";
	public static final String OPTIMISTIC_LOCK_EXCEPTION = "Optimistic lock exception.";
	public static final String PESSIMISTIC_LOCK_EXCEPTION = "Pessimistic lock exception.";
	public static final String TRANSACTION_REQUIRED_EXCEPTION = "Transaction required exception.";
	public static final String TRANSIENT_OBJECT_EXCEPTION = "Transient object exception.";
	public static final String UNRESOLVABLE_OBJECT_EXCEPTION = "Unresolvable object exception.";
	public static final String ILLEGAL_ARGUMENT_EXCEPTION = "Entity not in the persistence context.";
	public static final String ILLEGAL_STATE_EXCEPTION = "A JTA EntityManager cannot use getTransaction().";
	public static final String NO_REASON_EXCEPTION = "The unknown causes exception.";
}
